package cn.scm.server.multistage.controller;

import cn.scm.server.multistage.entity.ActScmTaskUser;
import cn.scm.server.multistage.service.ActScmTaskUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 流程节点表(ActScmTaskUser)表控制层
 *
 * @author makejava
 * @since 2020-09-24 14:10:56
 */
//@RestController
@RequestMapping("actScmTaskUser")
public class ActScmTaskUserController {
    /**
     * 服务对象
     */
    @Resource
    private ActScmTaskUserService actScmTaskUserService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public ActScmTaskUser selectOne(String id) {
        return this.actScmTaskUserService.queryById(id);
    }

}